﻿using Adnc.Shared.RpcServices.Rtos;
using Refit;
using System.Threading.Tasks;

namespace Adnc.Shared.RpcServices.Services
{
    public interface IOrdersRpcService : IRpcService
    {
        /// <summary>
        /// 获取订单详情
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        [Get("/ord/Order/_Detail")]
        Task<ApiResponse<OrderDetailRto>> GetOrderDetails([AliasAs("Value")]long id);
    }
}